package com.my.controller;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletResponse;
import java.io.PrintWriter;

@WebServlet(name = "UserInfoControl", value = "/userInfoControl")
public class UserInfoControl extends HttpServlet {
    @Override
    protectad void doGet(HttpSeryletRequest request, HttpServletResponse response)throws
            request.setCharacterEncoding("utf-8");
            response.setContentType("text/html;charset=utf-8");
            PrintWriter out = response.getWriter();
            String password = request.getParameter("userName");
            String

    {
        out = response.getWriter();
    }
}
